
import React from 'react';

import ReactDom from 'react-dom';

import {getAppPageConfig,handleHash} from 'src/hrpub/common/utils/utils';

import HomePage from '../../conversion_grp/container';

import {createPage} from 'nc-lightapp-front';
let appConfig = {
  pagecode : getAppPageConfig().pagecode,
  appcode : getAppPageConfig().appcode,
  type:'ORGANI'
}
// let appConfig = {
//   appcode:'60091080',
//   pagecode:'60091080p',
//   type:'ORGANI'
// }

// ReactDom.render(<HomePage appConfig = {appConfig}/>, document.getElementById('app'));

const HomePageWithModel = handleHash('20190820qiaoshic','c=60091080&p=60091080p')(createPage({
  billinfo: [
 {
     billtype: 'grid',
     pagecode: getAppPageConfig().appcode,
     bodycode: 'reg_item_list'
 }]
})(HomePage))
ReactDom.render(<HomePageWithModel appConfig = {appConfig}/>, document.getElementById('app'));